package com.example.seckill.entity;

import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonInclude;

@Data
public class SeckillGoods {
    private Long id;
    private String goodsName;
    private Integer stock;
    private Date startTime;
    private Date endTime;
    private BigDecimal price;
    private BigDecimal originalPrice;
    private String goodsDesc;
    private Date createTime;
    private Date updateTime;
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private transient Boolean purchased;
} 